package com.ete.app.constant

import android.os.Environment
import com.jkkc.lib.base.constant.Constant
import java.io.File

/**
 * @author:LiXian
 * <p>
 * Desc:常量
 * Version:1.0
 * date 2024/1/8 10:56
 */
object EteConstant {

    const val ROUTER_WELCOME = "/ete/welcome"
    const val ROUTER_HOME = "/ete/home"

    private val ROOT = Environment.getExternalStorageDirectory().absolutePath
    val DIR = ROOT + File.separator + "EteApp"
    val DB = DIR + File.separator + "db"
    val IMG = DIR + File.separator + "img"
    val TXT = DIR + File.separator + "txt"

    @JvmStatic
    fun getDirs(): List<String> {
        return listOf(DB, IMG, TXT, Constant.LOGCAT_LOG_APP, Constant.LOGCAT_LOG_PROJECT)
    }
}